package com.luo.employee_oa.mapper;

import com.luo.employee_oa.pojo.EmployeeInsurance;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EmployeeInsuranceMapper {
    @Insert("INSERT INTO employee_insurance (employee_id,social_insurance_no,housing_fund_no,base_salary,insurance_status,start_date,remark)VALUES (#{employeeId},#{socialInsuranceNo},#{housingFundNo},#{baseSalary},#{insuranceStatus},NOW(),#{remark});")
    int addEmployeeInsurance(EmployeeInsurance employeeInsurance);
}
